<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript"
	src="<%=WEBPATH%>/dwr/interface/XsdAction.js?id=<%=generate%>"></script>
<title><html:text name="sys.name" /></title>
</head>
<body>
<form id="listDataForm" method="post"
	action="<%=WEBPATH%>/crm/xsd/index.crm">
<table  class="condition-table">
<tr>
	<td colspan="4" class="x-panel-header" align="center"><html:text name="xsd" /><html:text name="entity.list" /></td>
</tr>
<tr>
	<td align="right">&nbsp;</td>
	<td  colspan="3">
	<input type="submit" value="<html:text name="button.query"/>">&nbsp;&nbsp;
	<input type="button" id="new" name="new" onclick="javascript:newFunction();" value="<html:text name="button.new"/>">&nbsp;&nbsp;
	<input type="button" id="delete" name="delete" onclick="javascript:deleteFunction();" value="<html:text name="button.delete"/>">&nbsp;&nbsp;
	<input type="button" id="edit" name="edit" onclick="javascript:editFunction();" value="<html:text name="button.modify"/>">&nbsp;&nbsp;
	<input type="button" id="view" name="view" onclick="javascript:viewFunction();" value="<html:text name="button.view"/>">
	</td>
</tr> 
</table>
<script type="text/javascript">
	function newFunction(){
		window.location="<%=WEBPATH%>/crm/xsd/create.crm";
	}
	function deleteFunction(){
		if(checkSelectData()){
			var id=checkMultiSelectData();
			if(id==null||id=="0"){
				alert("<html:text name="entity.deleted.select"/>");
				return ;
			}
			if(confirm("<html:text name="entity.deleted.confirm"/>")){
				//alert(id);
				XsdAction.dwrDelete(id,callFunction);
			}
		}else{
			alert("<html:text name="entity.deleted.select"/>");
		}
		
	}
	function callFunction(data){
		if(data=="success"){
			alert("<html:text name="entity.deleted"/>");
			_$("listDataForm").submit();
		}else{ 
			alert("<html:text name="entity.deleted.error"/>");
		}
	}
	function editFunction(){
		if(checkSelectData()){
			var id=checkBooleanSelectData();
			if(id==null){
				alert("<html:text name="entity.updated.select"/>");
				return ;
			}
			window.location="<%=WEBPATH%>/crm/xsd/edit.crm?id="+id;
		}else{
			alert("<html:text name="entity.updated.select"/>");
		}
	}
	function viewFunction(){
		if(checkSelectData()){
			var id=checkBooleanSelectData();
			if(id==null){
				alert("<html:text name="entity.view.select"/>");
				return ;
			}
			window.location="<%=WEBPATH%>/crm/xsd/view.crm?id="+id;
		}else{
			alert("<html:text name="entity.view.select"/>");
		} 
	}
	function imgOnclick(orderBy,asc){
		jQuery("#orderBy").val(orderBy);
		jQuery("#asc").val(asc);
		_$("listDataForm").submit();
	}
</script>

<table class="datatable"> 
		<thead>
		<tr>
			<td align="left" width="80"><input type="checkbox" id="checkList" onclick="javascript:onSelectChange(this);"><html:text
				name="entity.choose" /><html:hidden
			id="asc" name="asc" /><html:hidden
			id="orderBy" name="orderBy" /></td>
					<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('fzr',false);"</html:if><html:else> onclick="javascript:imgOnclick('fzr',true);" </html:else>><html:text name="xsd.fzr" /><html:if test="orderBy=='fzr'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('clientName',false);"</html:if><html:else> onclick="javascript:imgOnclick('clientName',true);" </html:else>><html:text name="xsd.clientName" /><html:if test="orderBy=='clientName'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('sklx',false);"</html:if><html:else> onclick="javascript:imgOnclick('sklx',true);" </html:else>><html:text name="xsd.sklx" /><html:if test="orderBy=='sklx'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('skfs',false);"</html:if><html:else> onclick="javascript:imgOnclick('skfs',true);" </html:else>><html:text name="xsd.skfs" /><html:if test="orderBy=='skfs'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('posId',false);"</html:if><html:else> onclick="javascript:imgOnclick('posId',true);" </html:else>><html:text name="xsd.posId" /><html:if test="orderBy=='posId'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('state',false);"</html:if><html:else> onclick="javascript:imgOnclick('state',true);" </html:else>><html:text name="xsd.state" /><html:if test="orderBy=='state'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('yhje',false);"</html:if><html:else> onclick="javascript:imgOnclick('yhje',true);" </html:else>><html:text name="xsd.yhje" /><html:if test="orderBy=='yhje'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('xsdje',false);"</html:if><html:else> onclick="javascript:imgOnclick('xsdje',true);" </html:else>><html:text name="xsd.xsdje" /><html:if test="orderBy=='xsdje'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('xsdcbj',false);"</html:if><html:else> onclick="javascript:imgOnclick('xsdcbj',true);" </html:else>><html:text name="xsd.xsdcbj" /><html:if test="orderBy=='xsdcbj'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('skje',false);"</html:if><html:else> onclick="javascript:imgOnclick('skje',true);" </html:else>><html:text name="xsd.skje" /><html:if test="orderBy=='skje'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('skzh',false);"</html:if><html:else> onclick="javascript:imgOnclick('skzh',true);" </html:else>><html:text name="xsd.skzh" /><html:if test="orderBy=='skzh'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('skxs',false);"</html:if><html:else> onclick="javascript:imgOnclick('skxs',true);" </html:else>><html:text name="xsd.skxs" /><html:if test="orderBy=='skxs'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('skrq',false);"</html:if><html:else> onclick="javascript:imgOnclick('skrq',true);" </html:else>><html:text name="xsd.skrq" /><html:if test="orderBy=='skrq'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('ysrq',false);"</html:if><html:else> onclick="javascript:imgOnclick('ysrq',true);" </html:else>><html:text name="xsd.ysrq" /><html:if test="orderBy=='ysrq'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('ms',false);"</html:if><html:else> onclick="javascript:imgOnclick('ms',true);" </html:else>><html:text name="xsd.ms" /><html:if test="orderBy=='ms'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('czr',false);"</html:if><html:else> onclick="javascript:imgOnclick('czr',true);" </html:else>><html:text name="xsd.czr" /><html:if test="orderBy=='czr'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('khAddress',false);"</html:if><html:else> onclick="javascript:imgOnclick('khAddress',true);" </html:else>><html:text name="xsd.khAddress" /><html:if test="orderBy=='khAddress'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('khLxr',false);"</html:if><html:else> onclick="javascript:imgOnclick('khLxr',true);" </html:else>><html:text name="xsd.khLxr" /><html:if test="orderBy=='khLxr'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('khLxdh',false);"</html:if><html:else> onclick="javascript:imgOnclick('khLxdh',true);" </html:else>><html:text name="xsd.khLxdh" /><html:if test="orderBy=='khLxdh'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('storeId',false);"</html:if><html:else> onclick="javascript:imgOnclick('storeId',true);" </html:else>><html:text name="xsd.storeId" /><html:if test="orderBy=='storeId'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('ckJsr',false);"</html:if><html:else> onclick="javascript:imgOnclick('ckJsr',true);" </html:else>><html:text name="xsd.ckJsr" /><html:if test="orderBy=='ckJsr'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('ckDate',false);"</html:if><html:else> onclick="javascript:imgOnclick('ckDate',true);" </html:else>><html:text name="xsd.ckDate" /><html:if test="orderBy=='ckDate'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('ysfs',false);"</html:if><html:else> onclick="javascript:imgOnclick('ysfs',true);" </html:else>><html:text name="xsd.ysfs" /><html:if test="orderBy=='ysfs'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('xjd',false);"</html:if><html:else> onclick="javascript:imgOnclick('xjd',true);" </html:else>><html:text name="xsd.xjd" /><html:if test="orderBy=='xjd'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('ysje',false);"</html:if><html:else> onclick="javascript:imgOnclick('ysje',true);" </html:else>><html:text name="xsd.ysje" /><html:if test="orderBy=='ysje'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('zq',false);"</html:if><html:else> onclick="javascript:imgOnclick('zq',true);" </html:else>><html:text name="xsd.zq" /><html:if test="orderBy=='zq'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('sjcjje',false);"</html:if><html:else> onclick="javascript:imgOnclick('sjcjje',true);" </html:else>><html:text name="xsd.sjcjje" /><html:if test="orderBy=='sjcjje'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('thFlag',false);"</html:if><html:else> onclick="javascript:imgOnclick('thFlag',true);" </html:else>><html:text name="xsd.thFlag" /><html:if test="orderBy=='thFlag'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('czDate',false);"</html:if><html:else> onclick="javascript:imgOnclick('czDate',true);" </html:else>><html:text name="xsd.czDate" /><html:if test="orderBy=='czDate'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('xsdkhcb',false);"</html:if><html:else> onclick="javascript:imgOnclick('xsdkhcb',true);" </html:else>><html:text name="xsd.xsdkhcb" /><html:if test="orderBy=='xsdkhcb'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('spState',false);"</html:if><html:else> onclick="javascript:imgOnclick('spState',true);" </html:else>><html:text name="xsd.spState" /><html:if test="orderBy=='spState'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('spType',false);"</html:if><html:else> onclick="javascript:imgOnclick('spType',true);" </html:else>><html:text name="xsd.spType" /><html:if test="orderBy=='spType'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('spr',false);"</html:if><html:else> onclick="javascript:imgOnclick('spr',true);" </html:else>><html:text name="xsd.spr" /><html:if test="orderBy=='spr'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('spDate',false);"</html:if><html:else> onclick="javascript:imgOnclick('spDate',true);" </html:else>><html:text name="xsd.spDate" /><html:if test="orderBy=='spDate'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('spOpinion',false);"</html:if><html:else> onclick="javascript:imgOnclick('spOpinion',true);" </html:else>><html:text name="xsd.spOpinion" /><html:if test="orderBy=='spOpinion'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('cxTel',false);"</html:if><html:else> onclick="javascript:imgOnclick('cxTel',true);" </html:else>><html:text name="xsd.cxTel" /><html:if test="orderBy=='cxTel'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('jobNo',false);"</html:if><html:else> onclick="javascript:imgOnclick('jobNo',true);" </html:else>><html:text name="xsd.jobNo" /><html:if test="orderBy=='jobNo'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('sendTime',false);"</html:if><html:else> onclick="javascript:imgOnclick('sendTime',true);" </html:else>><html:text name="xsd.sendTime" /><html:if test="orderBy=='sendTime'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('fplx',false);"</html:if><html:else> onclick="javascript:imgOnclick('fplx',true);" </html:else>><html:text name="xsd.fplx" /><html:if test="orderBy=='fplx'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('kpMc',false);"</html:if><html:else> onclick="javascript:imgOnclick('kpMc',true);" </html:else>><html:text name="xsd.kpMc" /><html:if test="orderBy=='kpMc'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('kpAddress',false);"</html:if><html:else> onclick="javascript:imgOnclick('kpAddress',true);" </html:else>><html:text name="xsd.kpAddress" /><html:if test="orderBy=='kpAddress'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('kpDh',false);"</html:if><html:else> onclick="javascript:imgOnclick('kpDh',true);" </html:else>><html:text name="xsd.kpDh" /><html:if test="orderBy=='kpDh'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('khhzh',false);"</html:if><html:else> onclick="javascript:imgOnclick('khhzh',true);" </html:else>><html:text name="xsd.khhzh" /><html:if test="orderBy=='khhzh'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('sh',false);"</html:if><html:else> onclick="javascript:imgOnclick('sh',true);" </html:else>><html:text name="xsd.sh" /><html:if test="orderBy=='sh'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>
		<td align="left" <html:if test="asc"> onclick="javascript:imgOnclick('fpxx',false);"</html:if><html:else> onclick="javascript:imgOnclick('fpxx',true);" </html:else>><html:text name="xsd.fpxx" /><html:if test="orderBy=='fpxx'">&nbsp;<img  class="sort-arrow" <html:if test="asc"> src="<%=WEBPATH%>/images/arrow_up.png"</html:if><html:else> src="<%=WEBPATH%>/images/arrow_down.png"</html:else> /> </html:if></td>

		</tr> 
		</thead>
	<html:if test="pages.result==null">
		<tbody>
			<tr>
				<td colspan="46"><html:text name="global.page.emptyMsg" /></td>
			</tr>
		</tbody>
		<script type="text/javascript">
			jQuery("#delete").hide();
			jQuery("#edit").hide();
			jQuery("#view").hide(); 
		</script>
	</html:if>
	<html:else>
		<html:iterator id="users" value="pages.result"
			status="index">
			<tbody>
				<tr <html:if test="#index.odd">class="row_odd"</html:if>
					<html:else>class="row_even"</html:else>>
					<td align="left"><input type="checkbox" id="selectCheck" name="selectCheck"
						value="<html:property value="id"/>"></input></td>
										<td align="left"><html:property value="fzr" /></td>
					<td align="left"><html:property value="clientName" /></td>
					<td align="left"><html:property value="sklx" /></td>
					<td align="left"><html:property value="skfs" /></td>
					<td align="left"><html:property value="posId" /></td>
					<td align="left"><html:property value="state" /></td>
					<td align="left"><html:property value="yhje" /></td>
					<td align="left"><html:property value="xsdje" /></td>
					<td align="left"><html:property value="xsdcbj" /></td>
					<td align="left"><html:property value="skje" /></td>
					<td align="left"><html:property value="skzh" /></td>
					<td align="left"><html:property value="skxs" /></td>
					<td align="left"><html:property value="skrq" /></td>
					<td align="left"><html:property value="ysrq" /></td>
					<td align="left"><html:property value="ms" /></td>
					<td align="left"><html:property value="czr" /></td>
					<td align="left"><html:property value="khAddress" /></td>
					<td align="left"><html:property value="khLxr" /></td>
					<td align="left"><html:property value="khLxdh" /></td>
					<td align="left"><html:property value="storeId" /></td>
					<td align="left"><html:property value="ckJsr" /></td>
					<td align="left"><html:property value="ckDate" /></td>
					<td align="left"><html:property value="ysfs" /></td>
					<td align="left"><html:property value="xjd" /></td>
					<td align="left"><html:property value="ysje" /></td>
					<td align="left"><html:property value="zq" /></td>
					<td align="left"><html:property value="sjcjje" /></td>
					<td align="left"><html:property value="thFlag" /></td>
					<td align="left"><html:property value="czDate" /></td>
					<td align="left"><html:property value="xsdkhcb" /></td>
					<td align="left"><html:property value="spState" /></td>
					<td align="left"><html:property value="spType" /></td>
					<td align="left"><html:property value="spr" /></td>
					<td align="left"><html:property value="spDate" /></td>
					<td align="left"><html:property value="spOpinion" /></td>
					<td align="left"><html:property value="cxTel" /></td>
					<td align="left"><html:property value="jobNo" /></td>
					<td align="left"><html:property value="sendTime" /></td>
					<td align="left"><html:property value="fplx" /></td>
					<td align="left"><html:property value="kpMc" /></td>
					<td align="left"><html:property value="kpAddress" /></td>
					<td align="left"><html:property value="kpDh" /></td>
					<td align="left"><html:property value="khhzh" /></td>
					<td align="left"><html:property value="sh" /></td>
					<td align="left"><html:property value="fpxx" /></td>

				</tr>
			</tbody>
		</html:iterator> 
		<tfoot>
		<tr>
			<td colspan="46" align="right" valign="middle">
			<script type="text/javascript"> 
				messages=new Array();
				messages[0]="<html:text name="global.page.first" />";
				messages[1]="<html:text name="global.page.prev" />";
				messages[2]="<html:text name="global.page.next" />";
				messages[3]="<html:text name="global.page.last" />";
				messages[4]="<html:text name="global.page.page" />";
				messages[5]="<html:text name="global.page.everyPage" />";
				messages[6]="<html:text name="global.page.total" />";
				messages[7]="<html:text name="global.page.record" />";
				messages[8]="<html:text name="global.page.primo" />";
				writePage(messages,"<%=WEBPATH%>","<html:property value="page"/>","<html:property value="pages.totalPages"/>","<html:property value="pageSize"/>");
			</script>
			</td>
		</tr></tfoot>
	</html:else>
</table>
</form>
</body>
</html>